package com.xht.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xht.domain.ResponseResult;
import com.xht.domain.dto.LinkChangeStatusDto;
import com.xht.domain.entity.Link;


/**
 * 友链(Link)表服务接口
 *
 * @author makejava
 * @since 2025-02-23 14:21:28
 */
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();


    ResponseResult linkList(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult addLink(Link link);

    ResponseResult getLinkById(Integer id);

    ResponseResult updateLink(Link link);

    ResponseResult deleteLink(Integer id);

    ResponseResult changeLinkStatus(LinkChangeStatusDto linkChangeStatusDto);
}

